<!DOCTYPE html>
<svg width="400" height="400">
  <g id="g">
    <rect stroke="black" fill="white" x="10" y="10" width="100" height="100" vector-effect="non-scaling-stroke"/>
  </g>
</svg>
<script src="../../../resources/run-after-layout-and-paint.js"></script>
<script>
runAfterLayoutAndPaint(function() {
  g.setAttribute("transform", "scale(3)");
}, true);
</script>
